package com.school.repair.entity;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备维修记录
 */
@Data
public class Todo implements Serializable {
    private long id;                           //编号
    private String content;              //内容
    private Date createdate;            //创建时间
    private int money;                     //费用
    private String repairmanid;        //维修人编号
    private byte status;                   //是否处理
    private Date confirmdate;          //完成时间
    private long equipmentId;          //设备编号
    private String name;                       //工程师姓名

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getRepairmanid() {
        return repairmanid;
    }

    public void setRepairmanid(String repairmanid) {
        this.repairmanid = repairmanid;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

    public Date getConfirmdate() {
        return confirmdate;
    }

    public void setConfirmdate(Date confirmdate) {
        this.confirmdate = confirmdate;
    }

    public long getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(long equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
